/*
 * Project Name: jmax
 * File Name: MinaClientHandler.java
 * Copyright: Copyright(C) 1985-2015 ZKTeco Inc. All rights reserved.
 */
package com.xdtech.jmax.test;

import org.apache.mina.core.service.IoHandlerAdapter;
import org.apache.mina.core.session.IoSession;

/**
 * TODO 一句话功能简述，请确保和下面的block tags之间保留一行空行
 * <p>
 * TODO 功能详细描述，若不需要请连同上面的p标签一起删除
 * 
 * @author <a href="max.zheng@zkteco.com">郑志雄</>
 * @version TODO 添加版本
 * @see 相关类或方法，不需要请删除此行
 * @since 2015-5-15 下午2:13:45
 */
public class MinaClientHandler extends IoHandlerAdapter
{

	public void sessionOpened(IoSession session) throws Exception
	{
		System.out.println("client open");
	}

	public void sessionClosed(IoSession session) throws Exception
	{
		System.out.println("client session close");
	}

	public void messageReceived(IoSession session, Object message)
																	throws Exception
	{
		System.out.println("thr result is" + message);
	}
}
